/* 
    Document   : style
    Created on : Mar 10, 2013, 12:55:33 AM
    Author     : duonghung1369
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

body {
    margin: 0;
    padding: 0;
    /*    background-color: rgb(17, 99, 99);*/
    background-image: url('../images/background2.jpg');
    font: 13px/1.5 Tahoma, Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
    /*    background-size: 100%;*/
}

p {
    margin: 0;
    padding: 0;
}

@-webkit-keyframes FadeIn {
    0% {
    opacity:0;
}
100% {
    opacity:1;
}
}

.hidden {
    visibility: hidden;
}

.disable {
    display: none !important;
}

.antiqueshop-container{
    width: 100%;
    height: auto;
}

.container {
    width: 80%;    
    margin: 0 10%;
    background-color: aliceblue;
    float: left;
}

#header {
    background-color: #3E4B5C;
    color: black;
}

#navigation{
    display: inline-block;
    background-color: gainsboro;
    width: 100%;
    height: 50px;
}

/*#navigation .main-nav {
    float: left;
    display: block;
    padding: 0;
}*/

#navigation .main-nav a{
    display: inline;
    margin: 5%;    
}

.cart {
    display: block;
    float: right;
    margin: 0 20px 5px 0;
}

#column-left{
    width: 25%;    
    float: left;
    color: black;
}

#category ul li, ul li {
    list-style: none;
}

#category a {
    display: block;
    height: 30px;
    text-decoration: none;
    background: url(../images/admin/sidemenu-repeat.jpg) repeat-x;
    line-height: 30px;
    padding-left: 5px;
    font-weight: bold;
}

#category a:hover {
    text-transform: uppercase;
    color: red;
}

#content{
    width: 75%;   
    background-color: white;
    float: left;
    color: black;
    height: auto;
    min-height: 400px;
}

#footer{
    height: 100px;
    background-color: #3E4B5C;
    clear: both;
    text-align: center;
}

.product-block{
    display: block;
    border-style: inset;
    border-width: thin;
    border-radius: 10px;
    box-shadow:2px 2px 4px black;
    height: 300px;
    background-color: pink;
    text-align: center;
    float: left;
    width: 32%;
    margin-left: 1%;
    overflow: hidden;
    margin-bottom: 1%;
    position: relative;    
}

.product-block:hover{
    background-color: whitesmoke;
    z-index: 5;
    border-style: outset;
}

.block-sold-out {
    background-image: url('../images/soldout2.png');
    background-repeat: no-repeat;
    background-position: center;    
}

.product-block:hover .add-to-cart {
    visibility: visible;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    z-index: 10;
    color: whitesmoke;
    position: absolute;
    top: 0;
    left: 0;
    /*    height: 11%;*/
    -webkit-animation-name: FadeIn;
    -webkit-animation-timing-function: ease-out;
    -webkit-animation-duration: 0s;
}

.product-block > div {
    /*    margin: 5% 0 5% 0;*/
    width: 100%;
    height: 15%;
    margin-bottom: 5%;
}

.product-block > a {
    margin-top: 5%;
}

.add-to-cart a {
    background-image: url('../images/addcart.png');
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    z-index: 10;
    position: absolute;
    /*
    top: 0;
    left: 0;*/
}

.image-sold-out {
    opacity: 0.3;
    filter:alpha(opacity=40); /* For IE8 and earlier */
}

.product-block .product-block-image img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 5;
}

.product-block .product-block-information {
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    color:#f3f3f3;
    /*    bottom: 5%;*/
    visibility: hidden;
    display: block;
    text-decoration: none;
    -webkit-animation-name: FadeIn;
    -webkit-animation-timing-function: ease-in;
    -webkit-animation-duration: 0.4s;
}

.product-block:hover .product-block-information{
    visibility: visible;
    display: block;
}

.item-information {
    position: absolute;
    z-index: 10;
    width: 100%;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.8);
}

.product-list-table td{
    width: 33%;
}

#login-logout a {
    text-decoration: none;
    margin-right: 20px;
}

#login-logout > a{
    margin-right: 0;
}

#login-logout a:hover{
    text-decoration: underline;
}

.search-product{
    position: relative;
    float: right;
    display: block;
    width: 250px;
    margin-top: 12px;
}

.search-product input {
    display: inline-block;
    right: 50px;
    width: 200px;
}

#search-product-suggest {
    position: absolute;
    right: 50;
    width: 200px;
    height: auto;
    display: none;
    background-color: white;
    z-index: 20;
}

#search-product-suggest .sugguest-item{
    display: block;
    height: 30px;
    text-decoration: none;
    font-weight: bold;
    line-height: 30px;
    padding-left: 5px;
    background: url(../images/admin/sidemenu-repeat.jpg) repeat-x;
}

#search-product-suggest .selected {
    background: none;
    background-color: blue;
    color: whitesmoke;
}

#search-product-suggest ul {
    padding-left: 0;
}

.productDetails{
    display: block;
    border-style: inset;
    border-width: thin;
    width: 100%;
    background-color: pink;
    overflow: hidden;
}
.productImage
{
    width: 50%;
    height: 100%;
    text-align: center;
    float: left;
    padding-bottom: 1000px;
    margin-bottom: -1000px;
}
.productInformation{
    float: left;
    width: 50%;
    height: 100%;
    background-color: darkkhaki;
    padding-bottom: 1000px;
    margin-bottom: -1000px;
    /*    text-align: center;*/
}

.confirmation-message {
    display: block;
    background-color: aquamarine;
    margin: 5%;
}

.order-summary {
    display: block;
    margin-top: 5%;
    margin-left: 5%;
    margin-bottom: 5%;
}

.p{
    text-align: center;
    color: brown;
    font-size: 30px;
    background-color: gainsboro;
}

.view-cart-table thead{
    background-color: #8f8f8f;
}

.view-cart-table .row-odd, .row-even{
    background-color: #f6f6f6;
}

.view-cart-table .delete-item{
    background-image: url('../images/btn_delete.png');
    background-repeat: no-repeat;
    display: block !important;
    width: 50px !important;
    height: 50px !important;
    background-size: cover;
}

.view-cart-table .continue-shopping, .check-out{
    /*    background-image: url('../images/btn_delete.png');*/
    background-repeat: no-repeat;
    display: block !important;
    width: 150px;
    height: 50px;
}

.view-cart-table .continue-shopping{
    background-image: url('../images/continue_shopping.png');
}

.view-cart-table .check-out{
    background-image: url('../images/check_out.png');
    width: 95px;
    height: 24px;
    position: relative;
    margin-top: -27px;
    border: none;
    background-color: #fff;
}

.export-cart-PDF {
    background-image: url('../images/btn_viewpdf.png');
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    width: 220px;
    height: 62px;
    margin-left: 20%;
}

.export-cart-PDF:hover {
    cursor: pointer;
}

.data {
    width: 500px;
}

.field {
    float:left;
}

.result {
    float: right;
}

/****** POPUP BOX *******/
.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 1;

    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}

.overlay:target{
    visibility: visible;
    opacity: 1;
}

.popup {
    background-color: #fff;
    border: 3px solid #fff;
    display: inline-block;
    left: 50%;
    opacity: 0;
    padding: 15px;
    position: fixed;
    text-align: justify;
    top: 40%;
    visibility: hidden;
    z-index: 10;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;

    -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;

    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}

.overlay:target+.popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
}

.close {
    background-color: rgba(0, 0, 0, 0.8);
    height: 30px;
    position: absolute;
    line-height: 30px;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: -15px;
    width: 30px;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
}

.close:before{
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-size: 24px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}

.close:hover{
    background-color: rgba(64, 128, 128, 0.8);
}

.popup p, .popup div {
    margin-bottom: 10px;
}

.popup label {
    display: inline-block;
    text-align: left;
    width: 120px;
}

.custom-button {
    -moz-box-shadow:inset 0px 1px 0px 0px #e184f3;
    -webkit-box-shadow:inset 0px 1px 0px 0px #e184f3;
    box-shadow:inset 0px 1px 0px 0px #e184f3;
    background-color:#c123de;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    border:1px solid #a511c0;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:15px;
    font-weight:bold;
    padding:6px 24px;
    text-decoration:none;
    text-shadow:1px 1px 0px #9b14b3;
}.custom-button:hover {
    background-color:#a20dbd;
}.custom-button:active {
    position:relative;
    top:1px;
}